package com.zcmob.web.admanagement.servlet;

import java.io.IOException;

import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class AddAdvServlet extends com.zcmob.web.admanagement.servlet.ZcMobServlet{
    static final long serialVersionUID = 2341L;
    
    @Override
    protected void handle(HttpServletRequest request, HttpServletResponse response) {
        // TODO Auto-generated method stub
        request.getSession().setAttribute("channel", "addadv");
        
        RequestDispatcher rd = request.getRequestDispatcher("adv_add.jsp");
        try {
            rd.forward(request, response);
        } catch (ServletException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        } catch (IOException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
    }
}
